writing an equation of a perpendicular bisector